﻿using System;

namespace TestExtensions.Reporting
{
    public class ConsoleReportRenderer : IReportRenderer
    {
        public void WriteLine(string text, params object[] args)
        {
            Console.WriteLine(text, args);
        }

        public void WriteNewLine()
        {
            Console.WriteLine();
        }

        public void WriteHorizontalRule(int length = 32)
        {
            Console.WriteLine(new string('-', length));
        }
    }
}